package com.app.service;

import com.app.pojo.PaymentQuotaConfig;
import com.app.util.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 缴费额度表 服务类
 * </p>
 *
 * @author yoominic
 * @since 2024-07-29
 */
public interface IPaymentQuotaConfigService extends IService<PaymentQuotaConfig> {


    List<PaymentQuotaConfig> getPaymentQuotaConfigByQuota();

    /**
     * Admin设置支付额度
     * @param paymentQuotas
     * @return
     */
    void setPaymentQuota(List<BigDecimal>  paymentQuotas,Integer userId);

    /**
     * 支付金额的列表
     * @return
     */
    Result<List<PaymentQuotaConfig>> quotaList(Integer page, Integer limit);
}
